<%-- 
    Document   : facebook-integration-testing
    Created on : 2011-08-03, 13:30:51
    Author     : Maxime
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
    <center>
        <div id="fb-root"></div>
        <script src="http://connect.facebook.net/en_US/all.js"></script>
        <script>
            FB.init({
                appId  : '113763428722102',
                status : true, // check login status
                cookie : true, // enable cookies to allow the server to access the session
                xfbml  : true, // parse XFBML
                channelURL : 'http://localhost:8088/SandBox/channel.html', // channel.html file
                oauth  : true // enable OAuth 2.0
            });
        </script>
        <fb:login-button>Login with Facebook</fb:login-button>
        <br/>
        <script src="http://connect.facebook.net/en_US/all.js#appId=113763428722102&amp;xfbml=1">
            
        </script>
        <fb:live-stream event_app_id="113763428722102" width="400" height="500" xid="" always_post_to_friends="false">

        </fb:live-stream>

        <iframe src="https://www.facebook.com/plugins/like.php?href=http://maximedupaul.com"
                scrolling="no" frameborder="0"
                style="border:none; width:450px; height:80px"></iframe>

    </center>
</body>
</html>
